<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>心脏病风险分析系统</title>
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
    <style>
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background-color: #f8f9fa;
        }
        .hero {
            background: linear-gradient(135deg, #3498db 0%, #2c3e50 100%);
            color: white;
            padding: 100px 0;
            margin-bottom: 50px;
        }
        .card {
            border: none;
            border-radius: 15px;
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
            transition: transform 0.3s ease;
            margin-bottom: 30px;
        }
        .card:hover {
            transform: translateY(-10px);
        }
        .chart-card {
            height: 300px;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-direction: column;
        }
    </style>
</head>
<body>
    <div class="hero text-center">
        <h1 class="display-4 fw-bold mb-3">心脏病风险分析系统</h1>
        <p class="lead mb-5">基于Pyecharts的心脏病风险可视化平台</p>
        <a href="/a" class="btn btn-light btn-lg">开始探索</a>
    </div>

    <div class="container">
        <div class="row mb-5">
            <div class="col-md-4">
                <a href="/a" class="text-decoration-none">
                    <div class="card">
                        <div class="card-body chart-card">
                            <h2 class="fw-bold mb-2" style="color: #c0392b;">年龄分布</h2>
                            <p class="text-muted">探索人员年龄分布</p>
                        </div>
                    </div>
                </a>
            </div>

            <div class="col-md-4">
                <a href="/b" class="text-decoration-none">
                    <div class="card">
                        <div class="card-body chart-card">
                            <h2 class="fw-bold mb-3" style="color: #7d3c98;">性别分布</h2>
                            <p class="text-muted">探索男女性别的患病风险</p>
                        </div>
                    </div>
                </a>
            </div>

            <div class="col-md-4">
                <a href="/c" class="text-decoration-none">
                    <div class="card">
                        <div class="card-body chart-card">
                            <h2 class="fw-bold mb-3" style="color: #3498db;">年龄阶段</h2>
                            <p class="text-muted">探索不同年龄阶段患病风险</p>
                        </div>
                    </div>
                </a>
            </div>

            <div class="col-md-4">
                <a href="/d" class="text-decoration-none">
                    <div class="card">
                        <div class="card-body chart-card">
                            <h2 class="fw-bold mb-3" style="color: #626567 ;">健康指标</h2>
                            <p class="text-muted">探索不同健康指标患病风险</p>
                        </div>
                    </div>
                </a>
            </div>

            <div class="col-md-4">
                <a href="/e" class="text-decoration-none">
                    <div class="card">
                        <div class="card-body chart-card">
                            <h2 class="fw-bold mb-3" style="color: 
#28b463;">多维度风险因素</h2>
                            <p class="text-muted">探索身高、体重、收缩压、舒张压对患病的影响</p>
                        </div>
                    </div>
                </a>
            </div>

            <div class="col-md-4">
                <a href="/f" class="text-decoration-none">
                    <div class="card">
                        <div class="card-body chart-card">
                            <h2 class="fw-bold mb-3" style="color: #d4ac0d;">生活习惯</h2>
                            <p class="text-muted">探索不同生活习惯患病风险</p>
                        </div>
                    </div>
                </a>
            </div>

            <div class="col-md-6">
                <a href="/g" class="text-decoration-none">
                    <div class="card">
                        <div class="card-body chart-card">
                            <h2 class="fw-bold mb-3" style="color: #ba4a00;">各因素患病相关性</h2>
                            <p class="text-muted">探索不同因素患病风险</p>
                        </div>
                    </div>
                </a>
            </div>

            <div class="col-md-6">
                <a href="/h" class="text-decoration-none">
                    <div class="card">
                        <div class="card-body chart-card">
                            <h2 class="fw-bold mb-3" style="color: #f1948a ;">风险预测</h2>
                            <p class="text-muted">预测患病情况</p>
                        </div>
                    </div>
                </a>
            </div>
        </div>
    </div>

    <footer class="bg-light text-center py-4 mt-5">
        <div class="container">
            <p class="text-muted">© 2025 心脏病风险分析系统 | by Steve Wang</p>
        </div>
    </footer>

    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
</body>
</html>